package logic

import (
	"userver/protos/pbdemo"

	"gitee.com/cloudapex/ulern/rpc"
	"google.golang.org/grpc"
)

var DemoCli pbdemo.DemoClient

func init() {
	// 特定的服务上分配连接客户端
	rpc.RegistClient("demo", func(cc *grpc.ClientConn) { DemoCli = pbdemo.NewDemoClient(cc) })

	// ...
}
